package com.waldamartin.android.mobileapplicationspairsapp.model;

import java.util.ArrayList;

/**
 * Class for data model structure
 * 
 * @author Martin
 */
public class GameList
{
	public static final String PATH = "gamelist.dat";

	private ArrayList<Game> games;

	private Integer lastGameIndex;
	
	public ArrayList<Game> getGames()
	{
		return games;
	}
	
	public void addGame(Game newGame)
	{
		games.add(newGame);
	}

	public void setGames(ArrayList<Game> games)
	{
		this.games = games;
	}

	public Integer getLastGame()
	{
		return lastGameIndex;
	}

	public void setLastGame(Integer lastGameIndex)
	{
		this.lastGameIndex = lastGameIndex;
	}
}
